package com.sdy.po;

import java.math.BigDecimal;

public class Specification {

    private Integer id;                //id
    private Integer productId;         //产品id
    private String specification;      //规格
    private BigDecimal price;          //价格

    public Specification() {
    }

    @Override
    public String toString() {
        return "Specification{" +
                "id=" + id +
                ", productId=" + productId +
                ", Specification='" + specification + '\'' +
                ", price=" + price +
                '}';
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public String getSpecification() {
        return specification;
    }

    public void setSpecification(String specification) {
        this.specification = specification;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Specification(Integer productId, String specification, BigDecimal price) {
        this.productId = productId;
        this.specification = specification;
        this.price = price;
    }

    public Specification(Integer id, Integer productId, String specification, BigDecimal price) {
        this.id = id;
        this.productId = productId;
        this.specification = specification;
        this.price = price;
    }
}
